<?php
header("Content-Type: text/html; charset=Shift_JIS");
ob_start();
?>
<div style="position:relative">
<!DOCTYPE html PUBLIC "-//i-mode group (ja)//DTD XHTML i-XHTML(Locale/Ver.=ja/2.1) 1.0//EN" "i-xhtml_4ja_10.dtd">
<html>
<head>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<title>変換開始</title>
</head>

<body>
<?php include("class/format_startClass.php");?>
<?php $format_start = new Format_start;?> 
<?php $format_start->mytask();?>  
<a name="search"></a> 
<hr color="#3399FF">
<a href="/top_page.php">トップ</a>><?php echo "<a href='result_list.php'>";?>検索結果</a>><?php echo $format_start->videoName; ?>	
<?php echo Common::getRandomAd();?>
<table width="100%"><tr><td>
動画検索
<form id="form1" name="form1" method="post" action="result_list.php">
<input type="text" name="keyword" size="15" value="">
<input type="submit" value="検索"><br>
</form>
</td></tr></table>
<hr color="#3399FF">	
<font color=red><?php echo $format_start->videoName; ?></font><br>
<?php echo $format_start->imgSrc;?>
<?php echo $format_start->cnt_html;?><br clear="all">
<?php echo Common::getRandomAd();?>
変換状況を確認するには「再確認する」を押してください<br/>
<center><a href=<?php echo $format_start->confirm_html;?>>再確認する</a></center>
	<hr color="#3399FF" />
<table width="100%">
  <tr>
    <td> 動画検索
<form id="form1" name="form1" method="post" action="result_list.php">
<input type="text" name="keyword" size="15" value="">
<input type="submit" value="検索"><br>
</form></td>
  </tr>
</table>
<hr color="#3399FF">
&copy;<a href="top_page.php">動画携帯</a><br>
</body>
</html>
<?php
$out = ob_get_clean();
$out = mb_convert_kana($out,"rak","UTF-8");
$out = mb_convert_encoding($out,"SJIS","UTF-8");
echo $out;
?>
